package cn.kdlc.demo.bind.model;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

import java.io.Serializable;

/**
 * Created by android on 2015/11/23 0023.
 */
public class User extends BaseObservable implements Serializable {

    public String name;

    @Bindable
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
        notifyPropertyChanged(cn.kdlc.demo.bind.BR.name);
    }
}
